package org.nekperu15739.me.persistencejpa.dao;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

@Configuration
@Profile(value = "dev")
public class AppConfig {

	@Bean
	public SimpleBean simpleBean() {
		SimpleBean simpleBean = new SimpleBean();
		simpleBean.setMyString("Ripped Pants");
		return simpleBean;
	}
}

class SimpleBean {

	public void setMyString(String string) {
		System.out.println(string);
	}

}
